package com.gem.growingtree.activity;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class ChooseArea extends Activity {
	
	private ImageView iv;
	private TextView areaback;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_choose_area);
		iv = (ImageView) findViewById(R.id.choose);
		areaback = (TextView) findViewById(R.id.areaback);
		
		iv.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(ChooseArea.this, ChooseCity.class);
				startActivity(intent);
			}
		});
		
		areaback.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(ChooseArea.this, MyInformationActivity.class);
				startActivity(intent);
			}
		});
		
	}
		
	
}
